<?php
namespace app\common\model;

use think\Model;

class AuthSchool extends Model
{
    public function school()
    {
        return $this->hasOne('School', 'id', 'school_id');
    }

     public function agent()
    {
        return $this->hasOne('Agent', 'id', 'agent_id');
    }
}